var app = angular.module('app',['ngRoute']);
app.config(['$routeProvider',function($routeProvider){
	$routeProvider
	.when('/home',{
		templateUrl: 'home/home.html',
		controller: "homeCtrl"
	})
	.when('/marcket:text',{//“更多”的注释，页面直接写文字，系统自动匹配字符串
		templateUrl: 'marcket/marcket.html',
		controller: "marcketCtrl"
	})
	
	.when('/cart',{
		templateUrl:'cart/cart.html',
		controller:'cartCtrl'		
	})
	.when('/presonal',{
		templateUrl:'presonal/presonal.html',
		controller:'presonalCtrl'		
	})
	.when('/yuding',{
		templateUrl:'yuding/yuding.html',
		controller:'yudingCtrl'		
	})
}])